
const plugins = [];
if(['production', 'prod'].includes(process.env.NODE_ENV)) {
  plugins.push("transform-remove-console")
}

module.exports = {
  presets: [
    ['@vue/app', {
      'targets': {
        'browsers':['ie >= 9',"safari >= 7"]
      },
      'loose': true,
      'debug': false,
      useBuiltIns: 'entry',
      polyfills: [
        'es6.promise',
        'es6.symbol'
      ]
    }]
  ],
  plugins: plugins
}


// module.exports = {
//   presets: [["@vue/app",{"useBuiltIns": "entry"}]],
//   plugins: plugins
// };
// module.exports = {
//   presets: [
//     '@vue/app'
//   ]
// }


